package com.supercube.sport.yoga.dao;

import com.supercube.sport.yoga.domain.CorrelationVenueDTO;

import java.util.List;

public interface CorrelationVenueMapper {
    int deleteByPrimaryKey(String id);

    int insert(CorrelationVenueDTO record);

    int insertSelective(CorrelationVenueDTO record);

    CorrelationVenueDTO selectByPrimaryKey(String id);

    List<CorrelationVenueDTO> selectCorrelationVenueByUserId(Long userId);

    int updateByPrimaryKeySelective(CorrelationVenueDTO record);

    int updateByPrimaryKey(CorrelationVenueDTO record);

    int deleteByUserId(Long userId);

    /**
     * 根据员工ID获取所关联的场馆ID
     *
     * @param employeeId
     * @return
     */
    List<String> getVenueIdsByEmployeeId(Long employeeId);
}